package cn.team11.smarteye.activity.callback;

import cn.team11.smarteye.bean.AlarmMsgInfoBean;
import io.reactivex.Observable;

/**
 * Created by Murphy on 2017/11/6.
 *
 * fragment中需要的接口
 *
 */

public interface AlarmMessageCallback extends FragmentCallback{
    /**
     * 获取报警信息列表(服务器)
     * */
    void getAlarmMsgList(long starttime, long endtime, int limit);

    Observable<AlarmMsgInfoBean> getLocalAlarmMsg(long starttime, long endtime);

    void deleteAlarmMsg(String aid, int deall);

}
